package com.imti.mall.sale.service;

import com.imti.mall.model.sms.pojo.SmsHomeRecommendProduct;
import com.imti.mall.model.sms.vo.SmsHomeRecommendProductPicVo;
import com.imti.mall.sale.mapper.SmsHomeRecommendProductMapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

import java.util.List;

public interface SmsHomeRecommendProductService {
    /**
     * 查询人气推荐商品表
     */
    public List<SmsHomeRecommendProduct> findSmsHomeRecommendProduct(SmsHomeRecommendProduct smsHomeRecommendProduct, Integer pageSize, Integer pageNum);

    /**
     * 修改人气推荐商品表
     *
     * @param smsHomeRecommendProduct
     * @return
     */
    public Integer updateSmsHomeRecommendProduct(SmsHomeRecommendProduct smsHomeRecommendProduct);

    /**
     * 根据id删除人气推荐商品
     *
     * @param id
     * @return
     */
    public Integer delSmsHomeRecommendProduct(Integer id);

    /**
     * 添加人气推荐商品
     *
     * @param smsHomeRecommendProduct
     * @return
     */
    public Integer addSmsHomeRecommendProduct(SmsHomeRecommendProduct smsHomeRecommendProduct);

    /**
     * 人气商品图片价位
     *
     * @param
     * @return
     */
    public List<SmsHomeRecommendProductPicVo> findSmsHomeRecommendProductPic( SmsHomeRecommendProductPicVo smsHomeRecommendProductPicVo);
}